<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');
session_start();

class fb extends CI_Controller {

    public function __construct() {
        parent::__construct();
        //        if ($this->session->userdata('logged_in_user')) {
        //            redirect('chat/', 'refresh');
        //        }
        $this->load->model('Dao');
    }

    public function index() {
        $data['title'] = 'Welcome to wfaces.com';
        $data['description'] = 'NONE';
        $data['keywords'] = 'Key, words, of, the, page';
        $data['view'] = 'v_fb';
        $data['left_view'] = '';
        $data['h_view'] = 'header';
        $this->load->view('templates/welcomeTemplate', $data);
    }

}

?>
